package com.teemo.dp.singleton.demo7;


import java.util.concurrent.TimeUnit;

/**
 * @author Teemo
 */
public class Demo {
    public static void main(String[] args) throws Exception{
        for (int i = 0; i < 5; i++) {
            new Thread(()->{
                Washer washer = Washer.INSTANCE;
                System.out.println(washer.hashCode());
            }).start();
        }
        TimeUnit.SECONDS.sleep(1);
    }
}
